lib/d/src/thrift/transport/socket.d(82,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. lib/d/src/thrift/transport/ssl.d(410,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. lib/d/src/thrift/transport/ssl.d(426,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. lib/d/src/thrift/async/libevent.d(66,50): Error: `@safe` constructor `thrift.async.libevent.TLibeventAsyncManager.this` cannot call `@system` function `thrift.internal.traits.assumeNothrow!(extern (C) void function(int, short, void*)).assumeNothrow` lib/d/src/thrift/internal/traits.d(30,6): `thrift.internal.traits.assumeNothrow!(extern (C) void function(int, short, void*)).assumeNothrow` is declared here lib/d/src/thrift/async/libevent.d(67,7): Error: cast from `thrift.async.libevent.TLibeventAsyncManager` to `void*` not allowed in safe code lib/d/src/thrift/async/libevent.d(125,27): Error: `@safe` function `thrift.async.libevent.TLibeventAsyncManager.delay` cannot call `@system` function `thrift.internal.traits.assumeNothrow!(extern (C) void function(int, short, void*)).assumeNothrow` lib/d/src/thrift/internal/traits.d(30,6): `thrift.internal.traits.assumeNothrow!(extern (C) void function(int, short, void*)).assumeNothrow` is declared here lib/d/src/thrift/async/libevent.d(125,45): Error: cannot take address of local `tv` in `@safe` function `delay` lib/d/src/thrift/async/libevent.d(159,23): Error: cast from `Thread*` to `shared(Thread*)` not allowed in safe code lib/d/src/thrift/async/libevent.d(163,5): Warning: statement is not reachable lib/d/src/thrift/async/libevent.d(181,49): Error: cannot take address of local `tv` in `@safe` function `addOneshotListener` lib/d/src/thrift/async/libevent.d(192,20): Error: `@safe` function `thrift.async.libevent.TLibeventAsyncManager.addOneshotListenerImpl` cannot call `@system` function `thrift.internal.traits.assumeNothrow!(extern (C) void function(int, short, void*)).assumeNothrow` lib/d/src/thrift/internal/traits.d(30,6): `thrift.internal.traits.assumeNothrow!(extern (C) void function(int, short, void*)).assumeNothrow` is declared here lib/d/src/thrift/async/libevent.d(191,25): Error: `@safe` function `thrift.async.libevent.TLibeventAsyncManager.addOneshotListenerImpl` cannot call `@system` function `thrift.async.libevent.TLibeventAsyncManager.registerOneshotEvent!(void delegate(TAsyncEventReason)).registerOneshotEvent` lib/d/src/thrift/async/libevent.d(195,8): `thrift.async.libevent.TLibeventAsyncManager.registerOneshotEvent!(void delegate(TAsyncEventReason)).registerOneshotEvent` is declared here lib/d/src/thrift/async/libevent.d(231,23): Error: cast from `Thread*` to `shared(Thread*)` not allowed in safe code lib/d/src/thrift/async/libevent.d(236,25): Error: cast from `Thread*` to `shared(Thread*)` not allowed in safe code lib/d/src/thrift/async/libevent.d(236,54): Error: cast from `core.thread.osthread.Thread` to `shared(Thread)` not allowed in safe code lib/d/src/thrift/async/libevent.d(246,44): Error: cannot take address of parameter `msg` in `@safe` function `sendControlMsg` lib/d/src/thrift/async/libevent.d(263,64): Error: cannot take address of local `msg` in `@safe` function `receiveControlMsg` lib/d/src/thrift/async/libevent.d(268,19): Error: `@safe` function `thrift.async.libevent.TLibeventAsyncManager.receiveControlMsg` cannot call `@system` function `thrift.base.logFormatted!(g_errorLogSink).logFormatted!("lib/d/src/thrift/async/libevent.d", 268, string).logFormatted` lib/d/src/thrift/base.d(95,8): `thrift.base.logFormatted!(g_errorLogSink).logFormatted!("lib/d/src/thrift/async/libevent.d", 268, string).logFormatted` is declared here lib/d/src/thrift/async/libevent.d(312,15): Error: `@safe` function `thrift.async.libevent.TLibeventAsyncManager.receiveControlMsg` cannot call `@system` function `thrift.base.logFormatted!(g_errorLogSink).logFormatted!("lib/d/src/thrift/async/libevent.d", 312, long, ulong).logFormatted` lib/d/src/thrift/base.d(95,8): `thrift.base.logFormatted!(g_errorLogSink).logFormatted!("lib/d/src/thrift/async/libevent.d", 312, long, ulong).logFormatted` is declared here lib/d/src/thrift/async/libevent.d(323,6): Error: none of the overloads of `this` are callable using argument types `(void delegate() @system)`, candidates are: /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/thread/fiber.d(551,5): `core.thread.fiber.Fiber.this(void function() fn, ulong sz = PAGESIZE * 4LU, ulong guardPageSize = PAGESIZE)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/thread/fiber.d(579,5): `core.thread.fiber.Fiber.this(void delegate() dg, ulong sz = PAGESIZE * 4LU, ulong guardPageSize = PAGESIZE)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/thread/fiber.d(864,5): `core.thread.fiber.Fiber.this()` lib/d/src/thrift/async/libevent.d(385,6): Error: cast from `void*` to `thrift.async.libevent.TLibeventAsyncManager` not allowed in safe code lib/d/src/thrift/async/libevent.d(393,8): Error: cast from `void*` to `void delegate(TAsyncEventReason)*` not allowed in safe code lib/d/src/thrift/async/libevent.d(396,9): Error: `@safe` function `thrift.async.libevent.TLibeventAsyncManager.socketCallback` cannot call `@system` function `core.stdc.stdlib.free` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/core/stdc/stdlib.d(164,9): `core.stdc.stdlib.free` is declared here lib/d/src/thrift/async/libevent.d(403,8): Error: cast from `void*` to `void delegate()*` not allowed in safe code /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.